@include('header')
@if(!$data)
	@include('empty_data')
@else
<link rel="stylesheet" href="{{asset('css/messagesDetail.css')}}" />
<div class="wrapper">
	<h3 class="noticeDetail-title">
		{{$data->title}}
	</h3>
	<div class="timeAndReads">
		<div class="noticeDetail-time">
			{{$data->created_at}}
		</div>
		<div class="readNums-wrap">
			<span>消息类型: </span>
			<span class="readNums">{{$type_name}}</span>
		</div>
	</div>
	
	<div class="noticeDetail-desc">
		@php
			echo $data->content;
		@endphp
	</div>
</div>
@endif